home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / network / file-tra / fsp-2.7 / fsp-2 / fsp / include / server_conf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-09  |  2.4 KB  |  49 lines

  1. #ifndef _FSP_SERVER_CONF_H_
  2. #define _FSP_SERVER_CONF_H_
  3.  
  4. /****************************************************************************
  5.  * Set this to the location of the fspd.conf file on your system            *
  6.  ****************************************************************************/
  7.  
  8. #ifdef VMS
  9. #define CONF_FILE "sys$login:fspd.conf"
  10. #else
  11. #define CONF_FILE "/usr/local/fspd.conf"
  12. #endif
  13. /****************************************************************************
  14.  * Set this value to the maximum number of open files you wish your system  *
  15.  * to keep around at any given time.  The smaller this number is, the more  *
  16.  * likely the server is to be opening and closing files, but the less file  *
  17.  * descriptors need to be taken up by the server itself                     *
  18.  * Five seems to work reasonably well on my system                          *
  19.  ****************************************************************************/
  20. #define FSP_FILE_CACHE 5
  21.  
  22. /****************************************************************************
  23.  * If the server machine supports files names longer than 14 characters     *
  24.  * long_file_names will be defined.  If the machine actually has some other *
  25.  * file name length limit, change the value below to reflect that           *
  26.  * For most systems, this will NOT need to be changed.                      *
  27.  ****************************************************************************/
  28. #ifdef HAVE_LONG_FILE_NAMES
  29. #define FILE_NAME_LIMIT 99999
  30. #else
  31. #define FILE_NAME_LIMIT 14
  32. #endif
  33.  
  34. /****************************************************************************
  35.  * DIR_CACHE_COUNT should be set to contain the max number of listings you  *
  36.  * want held in each file in the cache_dir                                  *
  37.  * For most systems, this will NOT need to be changed.                      *
  38.  ****************************************************************************/
  39. #define MAX_DIR_CACHE_COUNT 32
  40.  
  41. /****************************************************************************
  42.  * If for some reason, your signal handlers don't reinstall automatically,  *
  43.  * then undefine the following.  SYS_V systems will most likely need this   *
  44.  * to be undefined, while bsd systems should be fine.                       *
  45.  ****************************************************************************/
  46. #define RELIABLE_SIGNALS
  47.  
  48. #endif /* _FSP_SERVER_CONF_H_ */
  49.